home *** CD-ROM | disk | FTP | other *** search
- /* EasyCODE(C++) V5.1 01.03.1995 08:11:49
- Library Management: Header file for library data. */
- /* EasyCODE O
- If=horizontal
- LevelNumbers=no
- LineNumbers=no
- ScreenFont=Arial,,100,9220,-13,0,400,0,0,0,0,0,0,3,2,1,34
- PrinterFont=Courier,,100,2,-42,0,400,0,0,0,0,0,0,2,1,2,49
- LastLevelId=12 */
-
- /* EasyCODE ( 1
- Library Data Header-File */
- #include <stdlib.h>
- #include <stdio.h>
- #include <graph.h>
- #include <iostream.h>
- #include <string.h>
- /* EasyCODE - */
- #define BUFFER_SIZE 30
- /* EasyCODE - */
- /* EasyCODE < */
- enum BOOL {FALSE, TRUE};
- /* EasyCODE > */
- /* EasyCODE - */
- /* EasyCODE < */
- struct user_item
- {
- int UserNo;
- char UserName[BUFFER_SIZE+1];
- int Debts;
- int NumBooks;
- };
- /* EasyCODE > */
- /* EasyCODE - */
- /* EasyCODE < */
- struct loan_item
- {
- int CallNo;
- int UserNo;
- char LendingDate[BUFFER_SIZE+1];
- char Return[BUFFER_SIZE+1];
- char Author1[BUFFER_SIZE+1];
- };
- /* EasyCODE > */
- /* EasyCODE ) */
-